using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[DisallowMultipleComponent]
public class MinimapUI : MonoBehaviour
{
    public void ChangeMinimap()
    {
        RectTransform rectTransform = transform as RectTransform;
        if (rectTransform.localScale.x - 0.1f < 1e-6)
        {
            rectTransform.localScale = new Vector3(0.5f, 0.5f, 0.5f);
        }
        else
        {
            rectTransform.localScale = new Vector3(0.1f, 0.1f, 0.1f);
        }
    }
}